<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tbauctionitemimage-_form-form',
	'enableAjaxValidation'=>false,
	'htmlOptions' => array(
		'enctype' => 'multipart/form-data',
	)
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>



	<div class="row">
		<?php echo $form->labelEx($model,'thumb'); ?>
		<?php echo $form->fileField($model,'thumb'); ?>
		<?php echo $form->error($model,'thumb'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Submit'); ?>
	</div>
    
<?php /*?>    <?php foreach($images as $image): ?>
	<img src="<?php echo Yii::app()->request->baseUrl; ?>/uploads/<?php echo $image->id; ?>.<?php echo $image->thumbType; ?>" width="400" />
<?php endforeach; ?><?php */?>

<?php $this->endWidget(); ?>



</div><!-- form -->